package com.pwrd.game.service;

import com.pwrd.sframe.core.Port;
import com.pwrd.sframe.core.Service;
import com.pwrd.sframe.spring.annotation.ServiceInject;
import com.pwrd.sframe.support.constant.ConstNode;

/**
 * @Auther syc.
 * @Date 2017/3/1 14:42.
 */
@ServiceInject
public class GateService extends Service {

    String serviceKey = ConstNode.SERVICE_GATE;

    public GateService(Port port) {
        super(port);
    }

    @Override
    public void pulseOverride() {

    }

    @Override
    public Object getKey() {
        return serviceKey;
    }

    public void login(int connId, byte[] msgBuf) {
        System.out.println(msgBuf);
    }
}